import os
import time
import pandas as pd

def sleep(n_secs):
    time.sleep(n_secs)


def get_project_path():
    return os.path.dirname(__file__)

def read_excel(fileName:str,sheet:int=0):
    filePath = os.path.join(get_project_path(), "data",fileName)
    excel_data = pd.read_excel(filePath, sheet)
    return excel_data.values.tolist()

def convert_to_str(value):
    if isinstance(value,int):
        return str(value)
    return value



if __name__ == '__main__':
    print(read_excel("test.xls"))